- shouldEqualContent
void shouldEqualContent(in string fileName, in string content, in string file = __FILE__, in size_t line = __LINE__)
read a file in the test sandbox and verify its contents
- shouldEqualLines
void shouldEqualLines(in string fileName, in string[] lines, string file = __FILE__, size_t line = __LINE__)
read a file in the test sandbox and verify its contents
- shouldExist
void shouldExist(string fileName, in string file = __FILE__, in size_t line = __LINE__)
Assert that a file exists in the sandbox
- shouldFail
void shouldFail(in string[] args...)
Executing args should fail
- shouldNotExist
void shouldNotExist(string fileName, in string file = __FILE__, in size_t line = __LINE__)
Assert that a file does not exist in the sandbox
- shouldSucceed
void shouldSucceed(in string[] args...)
Executing args should succeed
- writeFile
void writeFile(in string fileName, in string output = "")
Write a file to the sandbox
- writeFile
void writeFile(in string fileName, in string[] lines)
Write a file to the sanbox
Responsible for creating a temporary directory to serve as a sandbox where files can be created, written to or deleted.